﻿using System;
using System.Collections.Generic;
using Equation.Enterprise.Framework.Domain.Model;

namespace ENail.Domain.Core
{
    public class Category: EntityWithTypedId<Int16>
    {
        public string CategoryName { get; set; }
        public string Description { get; set; }
        public IList<NailService> NailServices { get; set; }

        public virtual NailSalon NailSalon { get; set; }

        public bool IsActive { get; set; }

        public Category(string categoryName)
            : this()
        {
            CategoryName = categoryName;
        }

        public Category()
        {
            NailServices = new List<NailService>();

            IsActive = true;
        }
    }
}
